package com.study.demo_url_mappring.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @ClassName: HelloController
 * @Description:
 * @author: WS
 * @date 2020/12/13
 * @Version: 1.0
 **/
@RestController
public class HelloController {
    @GetMapping("/hello")
    public void hello(Date birthday){
        System.out.println(birthday);
    }
}
